package com.zlp.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "用户注册请求信息")
public class UserRegisterReq {

    @NotNull(message = "用户名为空！")
    @ApiModelProperty(value = "用户名")
    private String username;

    @NotNull(message = "密码为空！")
    @ApiModelProperty(value = "密码")
    private String password;

    @NotNull(message = "昵称为空！")
    @ApiModelProperty(value = "昵称")
    private String nickname;


}
